export const updateVlaue = (refVar, newValue) => {
  refVar.value = newValue;
};